<?php
$db['employee'] = array (
    'columns' => array (
        'employee_id' => array (
            'type' => 'number',
            'required' => true,
            'editable' => false,
            'pkey' => true,
            'extra' => 'auto_increment',
        ),
        'employee_account_id'=>array(
            'type'=>'number',
            'required' => true,
            'editable' => false,
        ),
        'employee_op_no' => array (
            'type' => 'varchar(20)',
            'required' => true,
            'searchtype' => 'has',
            'default_in_list' => true,
            'in_list' => true,
            'label' => '员工编号',
        ),
        'employee_login_name' => array(
            'type' => 'varchar(20)',
            'required' => true,
            'searchtype' => 'has',
            'default_in_list' => true,
            'in_list' => true,
            'label' => '员工帐号',
        ),
        'employee_name' => array (
            'type' => 'varchar(20)',
            'required' => true,
            'searchtype' => 'has',
            'default_in_list' => true,
            'in_list' => true,
            'label' => '员工姓名',
        ),
        'employee_type'=>array(
            'type'=>'varchar(20)',
            'required' => true,
            'searchtype' => 'has',
            'default_in_list' => true,
            'in_list' => true,
            'label' => '员工类型',
        ),
    ),
    'engine' => 'innodb',
    'version' => '$Rev:  $',
);
?>
